import Vue from 'vue'

import {
  Row,
  Button,
  Icon,
  Form,
  Field,
  NavBar,
  Swipe,
  SwipeItem,
  Grid,
  GridItem,
  GoodsAction,
  GoodsActionIcon,
  GoodsActionButton,
  Checkbox,
  Stepper,
  SubmitBar,
  AddressList,
  AddressEdit,
  Area,
  Tab,
  Tabs,
  List,
  Cell,
  Toast,
  Image as VanImage,
  SwipeCell,
  Card,
  Tabbar, TabbarItem,
  ActionSheet,
  ContactCard,
  CellGroup,
  Dialog,
  Sidebar, SidebarItem ,
  Search 
} from 'vant'

[
  Row,
  Button,
  Icon,
  Form,
  Field,
  NavBar,
  Swipe,
  SwipeItem,
  Grid,
  GridItem,
  GoodsAction,
  GoodsActionIcon,
  GoodsActionButton,
  Checkbox,
  SubmitBar,
  AddressList,
  AddressEdit,
  Area,
  Stepper,
  Tab,
  Tabs,
  List,
  Cell,
  Toast,
  VanImage,
  SwipeCell,
  Card, Tabbar, TabbarItem,
  ActionSheet,
  ContactCard,
  CellGroup,
  Dialog,
  Sidebar, SidebarItem ,
  Search 
].forEach(item => {
  Vue.use(item)
})